var mongoose = require('mongoose');
var config = require('./config.js');

module.exports = function () {
    var db = mongoose.connect(config.mongodb);
    require('../Models/studentlogonModel')
    return db;
}